﻿@using System.Diagnostics

@{
    ViewData["Title"] = "首页";
    var lang = System.Globalization.CultureInfo.CurrentCulture.Name;
    var assembly = System.Reflection.Assembly.GetEntryAssembly();
    var version = lang;
    if (assembly is not null)
    {
        version += "v" + FileVersionInfo.GetVersionInfo(assembly.Location).ProductVersion;
    }
}

<div class="welcome-page">
    <h1>
        <img src="~/icons/identity.png">
        这里是统一授权和认证中心
        <small class="text-muted">(@lang @version)</small>
    </h1>

    <ul>
        <li>
            认证中心发布的开放接口在这里
            <a href="~/.well-known/openid-configuration">发现文档</a>
            你可以从这里找到所有终结点和资料等的数据定义和链接地址
        </li>
        <li>
            点击此处 <a class="nav-link text-dark" asp-area="" asp-controller="Account" asp-action="Login">[ 登陆 ]</a>
        </li>
    </ul>
</div>
